﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq.Mapping;

namespace Scheduling.Models.Repos.Database.Objects
{
    [Table(Name = "BookingRequests")]
    public class DBBookingRequest
    {
        [Column]
        public int ID { get; set; }

        [Column]
        public int Year { get; set; }

        [Column]
        public int Time { get; set; }

        [Column]
        public int StartPeriod { get; set; }

        [Column]
        public int LectureCount { get; set; }

        [Column]
        public int LectureLength { get; set; }

        [Column]
        public int RequiredCapacity { get; set; }

        [Column]
        public string RoomPattern { get; set; }

        [Column]
        public string BookerID { get; set; }

        [Column]
        public int CourseInstanceID { get; set; }

        [Column]
        public int Priority { get; set; }

        [Column]
        public int RoomType { get; set; }
    }
}